//
//  RNOLHomeNavgationBar.m
//  RongNiuOnline
//
//  Created by 王贵彬 on 2018/4/22.
//  Copyright © 2018年 rongniu. All rights reserved.
//

#import "RNOLHomeNavgationBar.h"

@implementation RNOLHomeNavgationBar

- (instancetype)initWithFrame:(CGRect)frame
{
	self = [super initWithFrame:frame];
	if (self) {
		self.titleLabel = [RNOLUnitTool createLabelWithText:@"融牛在线" textColor:KWhiteColor fontSize:17 textAlignment:NSTextAlignmentCenter];
		self.titleLabel.frame = CGRectMake(0, kStatusBarHeight, KWIDTH , kNavBarHeight - kStatusBarHeight);
		[self addSubview: self.titleLabel];
		self.backgroundColor = kAppMainColor;
	}
	return self;
}

- (void)setClearBar{
	self.alpha = 0;
	self.titleLabel.alpha = 0;
}



@end
